<{foreach item=list key=num from=$offer}>
<div class="box">

	<a href="<{$config.weburl}>/?m=offer&s=offer_detail&id=<{$list.id}>" target="_blank">
    	<{assign var="img" value=$list.img}>
		<{html_image file=uploadfile/product/$img width=100 alt=$list.title}>
	</a>
	
</div>
<{/foreach}>